# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=aardvark-dns
pkgver=1.0.3
pkgrel=0
pkgdesc="Authoritative DNS server for A/AAAA container records"
url="https://github.com/containers/aardvark-dns"
license="Apache-2.0"
arch="all !s390x !riscv64" # blocked by rust/cargo
makedepends="cargo"
source="https://github.com/containers/aardvark-dns/archive/v$pkgver/aardvark-dns-$pkgver.tar.gz
	minimize-size.patch
	"
options="!check" # no test suite

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
81d784726084d55375a3e93669c73204e81919be18ee8f2b7cd4f00f3eb91771bfb753410e2744412d470791736b0dcac96bd3312b0e205063eee04959bac0fe  aardvark-dns-1.0.3.tar.gz
7587a990cca3403cde7c86ac3e08016c79de9f7a8b23e50ede5e37149e173e2993303bfb19120eb4a68e8e1ac1e641988955cb652dec50682376b811aa847311  minimize-size.patch
"
